package framework.security;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class LoginEntity {
    /**
     * 登录账户
     */
    private String username;
    /**
     * 登录密码
     */
    private String password;
    /**
     * 密码加密法
     */
    private String passwordCipher = "gc";
    /**
     * 记住选项， 0仅当前会话，>0 则设置为设置的值，单位：秒
     */
    private Integer rememberMe = 0;
    /**
     * 授权令牌是否写入cookie, 0/1
     */
    private Integer cookie = 0;
    /**
     * 验证码
     */
    private String captcha;
    /**
     * 验证码ID
     */
    private String captchaId;
}
